package com.lh.bootswagger.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 系统申请基本信息表
 */
@Data
@Entity
@Table(name = "t_apply_info")
public class ApplyInfo {

	/**
	 */
	@Id
	@Column(name = "id", nullable = false, length = 20)
	private Long id;

	/**
	 * null
	 * default value: null
	 */
	@Column(name = "appid", length = 32)
	private String appId;

	/**
	 * 企业名称
	 * default value: null
	 */
	@Column(name = "enterprise_name", length = 100)
	private String enterpriseName;

	/**
	 * 联系人
	 * default value: null
	 */
	@Column(name = "contact", length = 20)
	private String contact;

	/**
	 * 联系人身份证号
	 * default value: null
	 */
	@Column(name = "contact_no", length = 20)
	private String contactNo;

	/**
	 * 联系人电话
	 * default value: null
	 */
	@Column(name = "contact_phone", length = 20)
	private String contactPhone;

	/**
	 * 备注
	 * default value: null
	 */
	@Column(name = "remarks", length = 500)
	private String remarks;
	
    /** 
     * 用户权限  1：启用， 0：停用 
     * 
     */
	@Column(name = "is_open", nullable = false, length = 1)
    private Boolean isOpen;
	/** 
     * 白名单 1：启用， 0：停用 
     * 
     */
	@Column(name = "white_is_open", nullable = false, length = 1)
	private Boolean whiteIsOpen;
	/** 
     * 脱敏 1：启用， 0：停用 
     * 
     */
	@Column(name = "mask_is_open", nullable = false, length = 1)
	private Boolean maskIsOpen;
}
